package com.jdbc.transactionnew;

import org.junit.Test;

/**
 * 数据库事务
 * Description: 事务测试类
 */
public class BankTest {

    @Test
    public void testBank() throws Exception {
        BankService bankService = new BankService();
        bankService.transfer("ergouzi", "lvdandan", 500);
    }

}
